Attr

[Graphics/Text] - Attribute (ZX colour detection)


Description:

FUNCTION fastcall attr(row,col)

Parameters:

row: screen row

col: screen column

Returns:

a byte value containing the screen attribute color value

 

SUB fastcall SetAttr(row,col,color)

Parameters:

row: screen row

col: screen column

color: 8bit color attribute

Action:

Sets the attribute of screen(row, column) to the given color attribute Value.


#Include <Attr.bas>


Supported Plattforms:

ZX Spectrum